package com.bootdo.system.dao;

import com.bootdo.system.domain.ReportImgDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 质检报告图片信息表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-04-20 11:04:48
 */
@Mapper
public interface ReportImgDao {

	ReportImgDO get(String id);
	
	List<ReportImgDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(ReportImgDO reportImg);
	
	int update(ReportImgDO reportImg);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<ReportImgDO> getImgInfo(@Param("productName") String productName, @Param("batchNumber") String batchNumber,
								 @Param("imgOrder") String imgOrder, @Param("productGuige") String productGuige, @Param("validDate") String validDate);
}
